package net.fenghaitao.enums;

import java.util.regex.Pattern;

/**
 * @author ：HuangXiong
 * @date ：Created in 2021/1/11 16:14
 * @description：常量信息
 * @modified By：
 * @version: 1.0
 */
public class Constants {
    private Constants(){}

    public final static String NAME_REG = "'?%s'?!\\$([a-z]+)\\$([0-9]+)";



    public static Pattern getNamePattern( final String str){
        String regex = String.format(NAME_REG, str);
       return Pattern.compile(regex, Pattern.CASE_INSENSITIVE);
    }

}
